package generator.wf;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import generator.wf.WfTasktypeMapper;
import generator.wf.WfTasktype;
import java.util.List;
import generator.wf.WfTasktypeService;
@Service
public class WfTasktypeServiceImpl implements WfTasktypeService{

    @Resource
    private WfTasktypeMapper wfTasktypeMapper;

    @Override
    public int deleteByPrimaryKey(Integer tasktypeId) {
        return wfTasktypeMapper.deleteByPrimaryKey(tasktypeId);
    }

    @Override
    public int insert(WfTasktype record) {
        return wfTasktypeMapper.insert(record);
    }

    @Override
    public int insertSelective(WfTasktype wfTasktype) {
        return wfTasktypeMapper.insertSelective(wfTasktype);
    }

    @Override
    public WfTasktype selectByPrimaryKey(Integer tasktypeId) {
        return wfTasktypeMapper.selectByPrimaryKey(tasktypeId);
    }

    @Override
    public int updateByPrimaryKeySelective(WfTasktype record) {
        return wfTasktypeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(WfTasktype record) {
        return wfTasktypeMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatchSelective(List<WfTasktype> list) {
        return wfTasktypeMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<WfTasktype> list) {
        return wfTasktypeMapper.batchInsert(list);
    }

}
